package ro.quadroq.imc.dates;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DateT {  

public void getCurrentDate(){
DateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
Date date = new Date();
System.out.println(dateFormat.format(date));
}

public static void main(String[] args) {
DateT date = new DateT();
date.getCurrentDate();

}
}